package cn.xo68.boot.auth.server.domain;


import java.util.Date;



/** 
 * OauthClient 实体
 * @author wuyy(16349023@qq.com)
 * @date 2018年09月10日 12:42:18
 *
 */
public class OauthClient implements java.io.Serializable{
	
	private static final long serialVersionUID = 1L;

	private String clientId;
	private String resourceIds;
	private String clientSecret;
	private String clientName;
	/**
	 * 授权领域（客户端）
	 */
	private String scope;
	/**
	 * 授权类型
	 */
	private String authorizedGrantTypes;
	/**
	 * 客户端类型，0:系统应用，1：子应用，2：第三方应用
	 */
	private Integer clientType;
	/**
	 * 客户端状态
	 */
	private Integer clientStatus;
	/**
	 * 应用首页
	 */
	private String webHomeUrl;
	private String webServerRedirectUri;
	private String authorities;
	private Integer accessTokenValidity;
	private Integer refreshTokenValidity;
	private String additionalInformation;
	/**
	 * 是否自动接受授权
	 */
	private String autoApprove;

	private Integer orderValue;
	private Date createTime;
	private Date updateTime;
	
	@Override
	public String toString(){
		return "clientId:"+this.clientId+","+"resourceIds:"+this.resourceIds+","+"clientSecret:"+this.clientSecret+","+"clientName:"+this.clientName+","+"scope:"+this.scope+","+"authorizedGrantTypes:"+this.authorizedGrantTypes+","+"clientType:"+this.clientType+","+"clientStatus:"+this.clientStatus+","+"webHomeUrl:"+this.webHomeUrl+","+"webServerRedirectUri:"+this.webServerRedirectUri+","+"authorities:"+this.authorities+","+"accessTokenValidity:"+this.accessTokenValidity+","+"refreshTokenValidity:"+this.refreshTokenValidity+","+"additionalInformation:"+this.additionalInformation+","+"autoApprove:"+this.autoApprove+","+"createTime:"+this.createTime+","+"updateTime:"+this.updateTime;
	}
	

	public String getClientId() {
		return this.clientId;
	}
	public void setClientId(String value) {
		this.clientId = value;
	}	

	public String getResourceIds() {
		return this.resourceIds;
	}
	public void setResourceIds(String value) {
		this.resourceIds = value;
	}	

	public String getClientSecret() {
		return this.clientSecret;
	}
	public void setClientSecret(String value) {
		this.clientSecret = value;
	}	

	public String getClientName() {
		return this.clientName;
	}
	public void setClientName(String value) {
		this.clientName = value;
	}	

	public String getScope() {
		return this.scope;
	}
	public void setScope(String value) {
		this.scope = value;
	}	

	public String getAuthorizedGrantTypes() {
		return this.authorizedGrantTypes;
	}
	public void setAuthorizedGrantTypes(String value) {
		this.authorizedGrantTypes = value;
	}	

	public Integer getClientType() {
		return this.clientType;
	}
	public void setClientType(Integer value) {
		this.clientType = value;
	}	

	public Integer getClientStatus() {
		return this.clientStatus;
	}
	public void setClientStatus(Integer value) {
		this.clientStatus = value;
	}	

	public String getWebHomeUrl() {
		return this.webHomeUrl;
	}
	public void setWebHomeUrl(String value) {
		this.webHomeUrl = value;
	}	

	public String getWebServerRedirectUri() {
		return this.webServerRedirectUri;
	}
	public void setWebServerRedirectUri(String value) {
		this.webServerRedirectUri = value;
	}	

	public String getAuthorities() {
		return this.authorities;
	}
	public void setAuthorities(String value) {
		this.authorities = value;
	}	

	public Integer getAccessTokenValidity() {
		return this.accessTokenValidity;
	}
	public void setAccessTokenValidity(Integer value) {
		this.accessTokenValidity = value;
	}	

	public Integer getRefreshTokenValidity() {
		return this.refreshTokenValidity;
	}
	public void setRefreshTokenValidity(Integer value) {
		this.refreshTokenValidity = value;
	}	

	public String getAdditionalInformation() {
		return this.additionalInformation;
	}
	public void setAdditionalInformation(String value) {
		this.additionalInformation = value;
	}	

	public String getAutoApprove() {
		return this.autoApprove;
	}
	public void setAutoApprove(String value) {
		this.autoApprove = value;
	}

    public Integer getOrderValue() {
        return orderValue;
    }

    public void setOrderValue(Integer orderValue) {
        this.orderValue = orderValue;
    }

    public Date getCreateTime() {
		return this.createTime;
	}
	public void setCreateTime(Date value) {
		this.createTime = value;
	}	

	public Date getUpdateTime() {
		return this.updateTime;
	}
	public void setUpdateTime(Date value) {
		this.updateTime = value;
	}	
}